package com.base.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.base.po.voip.Callnums;
import com.base.po.voip.CallnumsExample;

public interface CallNumService {
	int countByExample(CallnumsExample example);

	int deleteByExample(CallnumsExample example);

	int deleteByPrimaryKey(String id);

	int insert(Callnums record);

	int insertSelective(Callnums record);

	List<Callnums> selectByExample(CallnumsExample example);

	Callnums selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") Callnums record, @Param("example") CallnumsExample example);

	int updateByExample(@Param("record") Callnums record, @Param("example") CallnumsExample example);

	int updateByPrimaryKeySelective(Callnums record);

	int updateByPrimaryKey(Callnums record);
	
	// AgentID判断
	Callnums selectByAgentKey(String id);
}
